#include "DxLib.h"
#include "Game/MyGame.h"
#include <mmsystem.h>

int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
						LPSTR lpCmdLine, int nCmdShow )
{

#if defined(DEBUG) | defined(_DEBUG)
	_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
#endif

	MyGame game;

	if ( !game.Initialise() )
	{
		return -1;
	}

	game.Run();
	game.Shutdown();
	
	return 0;
}